Add STM32 backend (STM32duino / Arduino_Core_STM32)#362
Conversation
|
fails to build |
|
Hi @gin66, Thank you for pointing out the build failure. I've investigated the issues and pushed a fix to the branch. Here's a summary of what was corrected:
The detailed fix plan (root causes, changes made, rationale) is available here: Note on hardware testing: I currently don't have access to physical STM32 hardware, so runtime validation (step pulse timing, ISR behavior, GPIO correctness) has not been performed. I wanted to be transparent about this limitation. I'd appreciate a re-review when you have time. Please feel free to leave inline comments if anything else needs attention — I'll address them promptly. |
- Phase 2A: Spurious interrupt guard (FAS_SPURIOUS_MAX counter + channel disable) - Phase 2B: FreeRTOS compile-time warning (configUSE_PORT_OPTIMISED_TASK_SELECTION) - Phase 2C: NVIC priority documentation for jitter protection - README: enhanced FreeRTOS compatibility section
|
still gives build error: Thanks for support. |
Dear gin66, |
|
Still not ok. |
dear gin66, |
This PR adds a complete STM32 port for FastAccelStepper, targeting the STM32duino toolchain. Step pulses are generated via TIM2/TIM3 compare-match ISR with GPIO BSRR bit-bang, allowing any GPIO pin to be used as a step pin. Deferred queue filling runs in PendSV at the lowest NVIC priority.